home *** CD-ROM | disk | FTP | other *** search
- Path: news.itsyd.bhp.com.au!news
- From: Richard Bowen <bowen.richard.rw@bhp.com.au>
- Newsgroups: comp.lang.c++
- Subject: Re: Will JAVA kill C++?
- Date: Thu, 21 Mar 1996 10:03:40 +1000
- Organization: BHP IT
- Message-ID: <31509CDC.F84@bhp.com.au>
- References: <313E44EA.14D110C0@netcom.com> <4hp18v$3di@frodo.smartlink.net> <4hq2j6$q93@galaxy.ucr.edu> <4ie2m7$5re@hn.ocbbs.gen.nz> <DoI1Gw.BF3@dowco.com>
- NNTP-Posting-Host: 134.18.154.118
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (WinNT; I)
-
- steve@hn.ocbbs.gen.nz (Steve Detoni) wrote:
-
- [snip]
- >: : Java main advantage, and a large advantage it is, will be complete
- >: : cross-platform compatibility. Meaning any JAVA program will run on any
- >: : machine which has an interpreter programmed for it.
- >
- >: Just like C++, no? Either language can be compiled into an
- >: efficiently interpretable pseudo-code. Perhaps, someone will retarget
- >: g++ to the JAVA pseudo-machine, just to prove the point.
- >I had a look at JAVA within a book at a book store, at first glance I
- >thought it was c++, and could find little difference between the two
- >syntaxitly in the what code saw. Why would anyone re-event a langauge
- >(i.e. C)?
-
- >Steve.
-
-
- Yes the language is a lot like C and C++, but the important
- feature that makes the difference is that it comes with GUI
- classes as part of the language. Sure C++ code is portable,
- but as soon as you want to make a dialog, draw some graphics,
- build menus, or play some sounds, you use non portable code,
- that can only work on one of Windows/Mac/Unix etc.
-
- With Java you can build an application that can make dialogs,
- draw graphics, build menus, and play sound, and you can take
- the equivalent of the .exe file and run it on Windows/Unixs
- and soon Macs.
-
- That is such a vital feature. Imagine developing an app
- just as you do now, and run it on any OS. Java will
- revolutionize the software industry. Think about it.
-
- - Richard
-